package com.example.springioc.demo3.controller;

import com.example.springioc.demo3.model.Human;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-11-18
 * Time: 16:09
 */
@Controller
public class D3UserController4 {

    @Autowired
    private Human human;
    public void sayHi(){
        System.out.println("hi,UserController4");
        System.out.println(human);
    }
}
